package com.example.springbootbatch.domain;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

/**
 * @author ljw
 * @description
 * @date 2022/8/31 7:12
 */
@Setter
@Getter
public class Person {

    private int id;
    @Size(max = 4, min = 2)
    private String name;
    private int age;
    private String nation;
    private String address;
}
